#!/usr/bin/env python3.9
# -*- encoding: utf-8 -*-
'''
@文件        :urls.py
@说明        : 微信模块路由
@时间        :2022/12/02 10:41:43
@作者        :Mars
@版本        :1.0
'''

from . import views
from rest_framework.routers import DefaultRouter
from django.urls import include, path


router = DefaultRouter()  # 只需要实现一次
router.register("", viewset=views.WechatAPIView, basename="wechat")
router.register("",viewset=views.WechatNotifyView,basename="wxnotify")

urlpatterns = [
    path("/", include(router.urls)),
]

